import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'
import PageOne from '../views/Page-01.vue'
import PageTwo from '../views/Page-02.vue'
Vue.use(VueRouter)

const routes = [
  {
    path: '/one',
    name: 'one',
    component: PageOne
  },
  {
    path: '/two',
    name: 'two',
    component: PageTwo
  }
];

const router = new VueRouter({
  mode: 'history',
  base: "/qiankun-main",
  routes
})

export default router
